package db.history;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import dbservice.history.经营情况DBService;
import po.AccountBookPo;
import po.Po;
import po.经营情况po;

public class 经营情况DBStub implements 经营情况DBService{
	@SuppressWarnings("unused")
	private SystemLogDB log;
	@SuppressWarnings("unused")
	private AccountBookPo ab;
	
	public 经营情况DBStub(AccountBookPo accountBookPo){
		this.ab=accountBookPo;
	}
	
	public Po add(经营情况po 经营情况){
		Po po=new Po();
		po.successed();
		return po;
	}
	
	public List<经营情况po> get经营情况(){
		经营情况po day1=new 经营情况po();
	//	day1.set商品类支出(100);
		//day1.set商品类收入(200);
		day1.set日期(new Date().getTime());
		day1.set销售成本(50);
		day1.set销售收入(100);
		day1.successed();
		List<经营情况po> result=new ArrayList<经营情况po>();
		result.add(day1);
		return result;
	}
	
	public List<经营情况po> get经营情况(经营情况po from){
		经营情况po day1=new 经营情况po();
		//day1.set商品类支出(100);
		//day1.set商品类收入(200);
		day1.set日期(new Date().getTime());
		day1.set销售成本(50);
		day1.set销售收入(100);
		day1.successed();
		List<经营情况po> result=new ArrayList<经营情况po>();
		result.add(day1);
		return result;
	}

	@Override
	public Po add销售收入(long in) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Po add商品报溢收入(long in) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Po add成本调价收入(long in) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Po add进货退货差价收入(long in) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Po add代金券与实际收款差额收入(long in) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Po add销售成本(long in) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Po add商品报损支出(long in) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Po add商品赠出支出(long in) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Po add折让(long in) {
		// TODO Auto-generated method stub
		return null;
	}
}